
export interface ResponseData {
    code: number | string,
    msg: string,
    result: number
}
// 分页接口携带参数的ts数据类型
export interface commentData {
    currentPage: number,
    pageSize: number
}
// 一条一级评论 ts数据类型
export interface Comment {
    id: number,
    title: string,
    fromUserId: number,
    fromUserName: string,
    fromUserAvatarUrl: number,
    content: string,
    createdDt: string
}
// 全部评论的ts数据类型
export type AllComments = Comment[]
// 分页接口返回数据 ts数据类型
export interface CommentsResponseData extends ResponseData {
    data: {
        pageSize: number,
        currentPage: number,
        totalPage: number,
        totals: number,
        list: AllComments
    }
}
export type ArrayData = number[]